<include file="panel-top.html" />
<h2>Gestion du domaine {current_dom}</h2>
<table style="margin:auto;width:90%;margin-bottom:15px;">
	<tr>
		<td style="width:50px;">
			<img src="/img/panel/48_produit.png" alt="Information produit" />
		</td>
		<td>
			<ul class="p_ul">
				<li><strong>Comandé le</strong> : {create}</li>
				<li><strong>Expire le</strong> : {expire}</li>
				<li><strong>Etat du produit</strong> : 
						<if cond="$etat == 1">
							OK									
						<elseif cond="$etat == 2">
							Expiré
						<elseif cond="$etat == 3">
							Mise à jour
						<elseif cond="$etat == 4">
							Création
						<elseif cond="$etat == 5">
							Erreur
						<elseif cond="$etat == 6">
							En transfert
						<elseif cond="$etat == 7">
							Changement de serveurs DNS
						</if>	
				</li>
				<li><strong>Clé de transfert</strong> : /#{cle}#/A demander pour tout transfert</li>
			</ul>
		</td>
		<td style="width:50px;">
			<img src="/img/panel/48_server.png" alt="Serveurs" />
		</td>
		<td>
			<ul class="p_ul">
					<li><strong>Serveur Dns 1</strong> : {dns1}</li>
					<li><strong>Serveur Dns 2</strong> : {dns2}</li>
					<if cond="$dns3 != ''"><li><strong>Serveur Dns 3</strong> : {dns3}</li></if>
					<if cond="$dns4 != ''"><li><strong>Serveur Dns 4</strong> : {dns4}</li></if>
			</ul>
		</td>
	</tr>

<table width="100%">
	<tr><td class="title_panel" colspan="4">Action sur le domaine</td></tr>
		<td align="center" width="25%" valign="top">
			<if cond="($etat == 1) AND ($lie == 0) AND ($ext != 'fr')">
				<if cond="$locked == 1">
					<a href="domaine-lock.html?action=0&id={dom_id}">
					<img src="/img/panel/50_unlock.png" alt="" />
					<br />Déprotéger le domaine
					</a>
				<else>
					<a href="domaine-lock.html?action=1&id={dom_id}">
					<img src="/img/panel/50_lock.png">
					<br /><font color="red">Protéger le domaine</font></a>
				</if>
			<else>
				<img src="/img/panel/50_unlock_out.png">
				<br />Déprotéger le domaine
			</if>
			<br /><br />
		</td>
		<td align="center" width="25%" valign="top">
			<a href="general-renew.html">
			<img src="/img/panel/50_recommander.png">
			<br />Prolonger
			</a>
			<br /><br />
		</td>
	</tr>
	<tr><td class="title_panel" colspan="4">Zones DNS</td></tr>
	<tr>
		<td align="center" width="25%" valign="top">
			<if cond="($zone_dns == 0) AND ($etat == 1) AND ($lie == 0)">
				<a href="domaine-serverdns.html?id={dom_id}">
				<img src="/img/panel/50_dns_serveurs.png">
			<else>
				<img src="/img/panel/50_dns_serveurs_out.png" alt="" />
			</if><br />
			Modifier les serveurs DNS
			<if cond="$zone_dns == 0">
				</a>
			</if>
		</td>
		<td align="center" width="25%" valign="top">
			<if cond="($etat == 1) AND ($lie == 0)">
				<if cond="$zone_dns == 0">
					<a href="domaine-zone-dns.html?action=on&id={dom_id}">
					<img src="/img/panel/50_zdns_on.png" alt="" />
					<br />Activer la zone DNS</a>
				<else>
					<a href="domaine-zone-dns.html?action=off&id={dom_id}">
					<img src="/img/panel/50_zdns_off.png" alt="" />
					<br />Désactiver la zone DNS</a>
				</if>
			<else>
				<img src="/img/panel/50_zdns_on_out" alt="" />
				<br />Zone DNS
			</if>
			<br /><br />
		</td>
		<td align="center" width="25%" valign="top">
			<if cond="($zone_dns != 0) AND ($etat == 1)">
				<a href="domaine-zone-dns.html?action=modif&id={dom_id}">
				<img src="/img/panel/50_zdns.png" alt="" />
			<else>
				<img src="/img/panel/50_zdns_out.png" alt="" />
			</if>
			<br />Gérer la zone DNS
			
			<if cond="$heberg_inc != 0">
				</a>
			</if>
		</td>
	</tr>
</table>
<include file="panel-bottom.html" />
